







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Adds a key-value pair to the collection. Always throws an exception
indicating that this method is not supported in a read-only dictionary.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
private void IDictionary.Add( Object key, Object value ) |
Visual Basic (Declaration) |
---|
Private Sub System.Collections.IDictionary.Add ( _ key As Object, _ value As Object _ ) Implements IDictionary.Add |
Visual C++ |
---|
private: virtual void System.Collections.IDictionary.Add ( Object^ key, Object^ value ) sealed = IDictionary::Add |
Parameters
- key
- Object
Key to add to the dictionary.
- value
- Object
Value to add to the dictionary.
Exceptions
Exception | Condition |
---|---|
System..::NotSupportedException | Always thrown. |